package com.CST.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ly
 * @since 2022-01-24
 */
@ApiModel(value = "成本数据")
@Data
public class CostDataInfo implements Serializable {
    @ApiModelProperty(value = "年")
    private String year;

    @ApiModelProperty(value = "月")
    private String month;

    @ApiModelProperty(value = "发生时间")
    private String operDime;

    @ApiModelProperty(value = "科室编号")
    private String deptCode;

    @ApiModelProperty(value = "科室名称")
    private String deptName;

    @ApiModelProperty(value = "总价")
    private Double amount;

    @ApiModelProperty(value = "费用要素编号")
    private String costItemCode;

    @ApiModelProperty(value = "费用要素名称")
    private String costItemName;

    @ApiModelProperty(value = "科室类型ID")
    private String deptTypeId;

    @ApiModelProperty(value = "科室类型")
    private String deptTypeName;

    @ApiModelProperty(value = "核算单元编号")
    private String unitCode;

    @ApiModelProperty(value = "核算单元名称")
    private String unitName;


    @ApiModelProperty(value = "院区")
    private String yard;


    @TableField(exist = false)
    private int pageIndex;

    @TableField(exist = false)
    private int pageSize;


    @ApiModelProperty(value = "薪酬分表")
    @TableField(exist = false)
    private String salaryTableName;

    @ApiModelProperty(value = "凭证分表")
    @TableField(exist = false)
    private String accvouchTableName;


    @ApiModelProperty(value = "支持多部门查询")
    @TableField(exist = false)
    private List<String> lstDept;

    private String filed;
    
    @TableField(exist = false)
    private Integer linkFlag;
    
    
    // 父级科室
    @TableField(exist = false)
    private String pDeptCode;
    @TableField(exist = false)
    private String pDeptName;

    private String description;
    
}
